import request from '@/utils/request'

// 查询入湖字段列表
export function listLakeTableColumn(query) {
  return request({
    url: '/boc/lakeTableColumn/list',
    method: 'get',
    params: query
  })
}

// 查询入湖字段详细
export function getLakeTableColumn(columnId) {
  return request({
    url: '/boc/lakeTableColumn/' + columnId,
    method: 'get'
  })
}

// 新增入湖字段
export function addLakeTableColumn(data) {
  return request({
    url: '/boc/lakeTableColumn',
    method: 'post',
    data: data
  })
}

// 修改入湖字段
export function updateLakeTableColumn(data) {
  return request({
    url: '/boc/lakeTableColumn',
    method: 'put',
    data: data
  })
}

// 删除入湖字段
export function delLakeTableColumn(columnId) {
  return request({
    url: '/boc/lakeTableColumn/' + columnId,
    method: 'delete'
  })
}
